package com.sh.rbac.domain.vo.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author wb
 * @since 2025-05-19
 */

@Schema(description = "部门信息")
@Data
public class DeptVO implements Serializable {

    @Schema(description = "部门id")
    private Long id;

    @Schema(description = "上级部门Id")
    private Long parentId;

    @Schema(description = "部门负责人id")
    private Long leaderId;

    @Schema(description = "部门名称")
    private String name;

    @Schema(description = "部门电话")
    private String phone;

    @Schema(description = "部门邮箱")
    private String email;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    private String createTime;

    @Schema(description = "部门负责人")
    private String leaderName;

    @Schema(description = "子部门")
    private List<DeptVO> children;
}

